
    $.ajax({
      type: "get",
      url: "../api/pingguo.php",
      dataType: "json",
      success(res){
        console.log(res)
        let list = res.data;
        let htmlStr = "";
        list.forEach((item)=>{
          console.log(item)
          htmlStr +=`
          <div class="productContent line-bottom">
            <div class="img">
                <!----> <img src="${item.pic}"></div>
          `
            $(item.prolist).forEach((item1)=>{

              htmlStr += `
              <div class="inforPro">
                <p class="title">${item1.title}</p>
                <p class="txt">${item1.txt}</p>
                <!----> <i class="label">${item1.label}</i>
                <p class="price">
                  <span class="priceRed">${item1.price}</span>
                  <!----> <span class="standard">${item1.count}</span> 
                  <span class="addCart"></span>
                  <!---->
                </p>
              </div>
              `
            })
            htmlStr += `
          </div>
          
          `
          
        })
        $(".productShow").html(htmlStr);
      }
    })
